package wqlspringboot.springbootcrud.dao;

import wqlspringboot.springbootcrud.entity.User;

import java.util.List;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/17 20:12
 */

public interface UserDao {
    public List<User> findAll();

    public int addUser(User user);

    public int deleteById(Integer id);

    public int update(User user);

}
